package com.nl.lib_project.view.util;

import com.github.gzuliyujiang.wheelpicker.contract.TimeFormatter;

public class CustomizationTimeFormatter implements TimeFormatter {
  private final String mHour;
  private final String mMinute;
  private final String mSecond;

  public CustomizationTimeFormatter(String hour, String minute, String second) {
    mHour = hour;
    mMinute = minute;
    mSecond = second;
  }

  @Override
  public String formatHour(int hour) {
    return hour + mHour;
  }

  @Override
  public String formatMinute(int minute) {
    return minute + mMinute;
  }

  @Override
  public String formatSecond(int second) {
    return second + mSecond;
  }
}
